package com.itheima.crm.service;

import com.itheima.common.utils.Page;
import com.itheima.crm.pojo.Organization;

public interface OrganizationService {
	
	// 通过四个条件 查询分页对象
	public Page<Organization> selectOrganization(Organization organization);
	
	//通过ID查询客户
	public Organization selectOrganizationById(Integer id);
	
	//修改客户通过ID
	public void updateOrganizationById(Organization organization);
	
	//插入员工信息
	public void insertOrganization(Organization organization);
	//通过ID 删除客户
	public void deleteOrganization(Organization organization);
	//更新员工人数
	public void updateOrganizationCount();
	
	public void updateOrganizationCountto0(String org);
	//通过部门名查对象
	public Organization  selectOrganizationByOname(String oname);
	
	public void updateManager(Organization o);

}
